/* 全局样式 */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#app {
  height: 100%;
}

/* 清除浮动 */
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}

/* 通用间距类 */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.ml-10 { margin-left: 10px; }
.mr-10 { margin-right: 10px; }

/* 通用文本类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* 通用颜色类 */
.text-primary { color: #409EFF; }
.text-success { color: #67C23A; }
.text-warning { color: #E6A23C; }
.text-danger { color: #F56C6C; }
.text-info { color: #909399; }

/* 通用布局类 */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Example of responsive design using @media */
/* Default styles */
.responsive-box {
  width: 50%;
  height: 100px;
  background-color: lightblue;
  margin: 20px auto;
  text-align: center;
  line-height: 100px;
  color: white;
  font-size: 24px;
}

/* Styles applied when screen width is 768px or less */
@media (max-width: 768px) {
  .responsive-box {
    width: 90%;
    background-color: lightcoral; /* Change background color */
  }
} 